<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <link rel="stylesheet" href="css/2.css">

</head>
<body>
   <header>
    <h1>智慧社区</h1>
    <div class="select">
        <ul>
            <li class="page" id="page1" onclick="changePage('1.html')">社区基础信息&nbsp; </li>
            <li class="page" id="page2" onclick="changePage('2.html')"> 小区情况&nbsp; </li>
           
        </ul>
    </div>
   </header>
   
    <section class="mainbox">
        <div class="main1">
            <div class="box1">
                <div class="alltitle" >电瓶车充电桩状态信息</div>
                <div class="allnav" id="echart1" ></div>
            </div>
            <div class="box2">
                <div class="alltitle" >汽车充电桩信息</div>
                <div class="allnav" id="echart2" ></div>
            </div>
        </div>
        <div class="main2">
            <div class="box1">
                <div class="alltitle" ></div>
                <div class="allnav" id="echart3" ></div>
            </div>
            <div class="box2">
                <div class="alltitle" ></div>
                <div class="allnav" id="echart4" ></div>
            </div>
        </div>
        <div class="main3">
            <div class="box1">
                <div class="alltitle" ></div>
                <div class="allnav" id="echart5" ></div>
            </div>
            <iframe class="box2" src="map2.html" frameborder="10px
            "></iframe>

            </div>
        </div>
    </section>
   <script>
    function changePage(page) {
        window.location.href = page;
    }
</script>
<script src="js/echarts.min.js"></script>
<script src="js/js2.js"></script>
</body>
</html>